﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FollowMe.Model.Messages
{
    public abstract class AMessage
    {
        public Guid MessageSenderId { get; set; }

        public Guid MessageReceiverId { get; set; }

        public string MessageType { get; protected set; }

        public double Lattitude { get; set; }

        public double Longitude { get; set; }

        public string Content { get; set; }

        public AMessage()
        {
            MessageType = "bse";
        }

        public virtual string Type()
        {
            return "bse";
        }
    }
}
